package com.javandad.app.client.toppanel;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.javandad.app.shared.entity.Friendship;
import com.javandad.app.shared.entity.Message;


/**
 * The async counterpart of <code>SearchService</code>.
 */
public interface TopPanelServiceAsync {

	
	void getSessionInfo(AsyncCallback<List<String>> callback);

	void addAsFriend(Friendship friendship, AsyncCallback<Boolean> callback);

	void sendMessage(Message message, AsyncCallback<Boolean> callback);

	void checkRelationshipStatus(String user1, String user2, AsyncCallback<Integer> callback);
	
}
